package com.ww.springboot.boot.baseTest.design.装饰.son;

import com.ww.springboot.boot.baseTest.design.装饰.ComponentService;
import com.ww.springboot.boot.baseTest.design.装饰.son.su.AbstractDecorator;

public class DecoratorTwo extends AbstractDecorator {

	public DecoratorTwo(ComponentService component) {
		super(component);
	}
	@Override
    public void preSay(){
        System.out.println("two增强pre");
        super.preSay();
    }   
	@Override
    public void afterSay(){
        System.out.println("two增强after");
        super.afterSay();
    }   

}
